package com.lc.config;
/**
 * 错误响应数据的包装类
 */
public class RestErrorCode {
    private int code;
    private String errMessage;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public RestErrorCode(int code, String errMessage) {
        this.code = code;
        this.errMessage = errMessage;
    }

    public RestErrorCode() {
    }
}
